﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="CQuery_ShowReport.aspx.cs"
    Inherits="CQuery_ShowReport_cs" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>报表展示</title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager runat="server" />
    <ext:Panel ID="Panel1" Title="报表展示管理" runat="server" AutoHeight="true" BodyPadding="5px"
        ShowBorder="True" ShowHeader="false" EnableBackgroundColor="true">
        <Items>
            <ext:GroupPanel runat="server" ID="GroupPanel1" Title="简要说明" EnableCollapse="true"
                Collapsed="true">
                <Items>
                    <ext:Label ShowEmptyLabel="true" EncodeText="false" ID="txbShortView" runat="server">
                    </ext:Label>
                </Items>
            </ext:GroupPanel>
            <ext:GroupPanel runat="server" ID="gp1" Title="查询条件" EnableCollapse="true" BodyPadding="5px">
                <Items>
                    <ext:Form ID="Form2" ShowBorder="False" BodyPadding="5px" EnableBackgroundColor="true"
                        ShowHeader="False" runat="server" LabelAlign="Right" AutoWidth="true" AutoHeight="true">
                    </ext:Form>
                </Items>
            </ext:GroupPanel>
            <ext:Panel ID="Panel2" runat="server" AutoHeight="true" BodyPadding="10px" ShowBorder="True"
                ShowHeader="false" EnableBackgroundColor="true" AutoScroll="true">
                <Items>
                    <ext:Grid ID="Grid1" Title="列表" ShowBorder="true" ShowHeader="true" AutoHeight="true"
                        runat="server" EnableCheckBoxSelect="true" EnableRowNumber="True" EnableTextSelection="true"
                        AllowPaging="true" ForceFitAllTime="true" IsDatabasePaging="true" OnPageIndexChange="Grid1_PageIndexChange"
                        AutoWidth="true">
                        <Toolbars>
                            <ext:Toolbar ID="Toolbar1" runat="server">
                                <Items>
                                    <ext:Button runat="server" ID="btnQuery" Text="查询" Icon="Accept" OnClick="btnQuery_click"
                                        ValidateForms="Form2">
                                    </ext:Button>
                                    <ext:Button runat="server" ID="btnReturn" Text="反馈" Icon="DatabaseGo" OnClick="btnReturn_click"
                                        OnClientClick="">
                                    </ext:Button>
                                     <ext:Button runat="server" ID="btnRefer" Text="查看关联表" Icon="DatabaseGo" OnClick="btnRefer_click"
                                        OnClientClick=""></ext:Button>
                                    <ext:Button ID="btnExcel" Text="导出Excel" Icon="PageExcel" EnableAjax="false" DisableControlBeforePostBack="False"
                                        OnClick="btnExcel_click" runat="server">
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </Toolbars>
                    </ext:Grid>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    <ext:Window ID="Window1" Title="编辑" Hidden="true" EnableIFrame="true" runat="server"
        CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
        EnableMaximize="true" EnableResize="true" OnClose="Window1_Close" Target="Top"
        IsModal="True" Width="750px" Height="500px">
    </ext:Window>
    </form>
</body>
</html>
